import avlTree.AVLTree;

/**
 * Creared with IntelliJ IDEA.
 * Description:
 * User:yxd
 * Date:2022-07-08
 * Time:13:55
 */
public class Test {
    public static void main(String[] args) {
        int[] array = {16,3,7,11,9,26,18,14,15};
        AVLTree avlTree = new AVLTree();
        for(int i = 0 ;i < array.length;i ++){
            avlTree.insert(array[i]);
        }
        System.out.println(avlTree.isBalanced(avlTree.root));
    }
}
